<!--
 * @Author: Lw
 * @Date: 2022-08-29 10:28:41
 * @LastEditors: Lw
 * @LastEditTime: 2022-09-02 15:55:59
-->
<script setup>
  import { zhCN, dateZhCN } from 'naive-ui'
  import themeOverrides from './config/theme'
  import Layout from './components/Layout/index.vue'
</script>

<template>
  <n-config-provider
    :theme-overrides="themeOverrides"
    :locale="zhCN"
    :date-locale="dateZhCN"
  >
    <Layout>
      <router-view />
    </Layout>
  </n-config-provider>
</template>

<style scoped>
  .logo {
    height: 6em;
    padding: 1.5em;
    will-change: filter;
  }
  .logo:hover {
    filter: drop-shadow(0 0 2em #646cffaa);
  }
  .logo.vue:hover {
    filter: drop-shadow(0 0 2em #42b883aa);
  }
</style>
